﻿using QuanLyThuVien.DTO;
using QuanLyThuVien.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuanLyThuVien.BLL
{
    //----------------------------------------------------------------------
    //Desc: class xử lý cho bảng CT_PhieuNhap
    //----------------------------------------------------------------------
    public class BLLCT_PhieuNhap
    {
        //----------------------------------------------------------------------
        //Desc: constructor mặc định
        //----------------------------------------------------------------------
        public BLLCT_PhieuNhap()
        { }

        //----------------------------------------------------------------------
        //Desc: Cập nhật CT_PhieuNhap
        //----------------------------------------------------------------------
        public bool CapNhat(DTOCT_PhieuNhap ctpn)
        {
            DALCT_PhieuNhap _dalCT_PhieuNhap = new DALCT_PhieuNhap();
            return _dalCT_PhieuNhap.CapNhat(ctpn);
        }
    }
}
